using System;
using System.ComponentModel;
using System.Runtime.InteropServices;
using MH.WsdlWorks.ProjectModel;

namespace MH.WsdlWorks
{
    [CLSCompliant(false), ComVisible(true)]
    public class MessageFileNodeProperties : SimpleNodeProperties
    {
        MessageFile messageFile;

        public MessageFileNodeProperties(MessageFileNode messageFileNode)
            : base(messageFileNode)
        {
            this.messageFile = messageFileNode.MessageFile;
        }

        public override string GetClassName()
        {
            return "MessageFile";
        }

        [Category("Misc")]
        [DisplayName("Path")]
        [Description("The Path for this file")]
        public string FilePath
        {
            get
            {
                return this.messageFile.GetPath();
            }
        }
    }
}
